package com.hundsun.yr.universal.p2p.bean;

import java.io.Serializable;

/**
 * Created by apple on 2018/2/7.
 */

public class AuthListBean implements Serializable{

    /**
     * repay_auth : {"rst":0,"rule":{"max_amt":{"min":0,"max":250000},"deadline":{"min":0,"max":5}}}
     * payment_auth : {"rst":0,"rule":{"max_amt":{"min":0,"max":250000},"deadline":{"min":0,"max":5}}}
     */

    public RepayAuthBean repay_auth;
    public PaymentAuthBean payment_auth;

    public static class RepayAuthBean {
        /**
         * rst : 0
         * rule : {"max_amt":{"min":0,"max":250000},"deadline":{"min":0,"max":5}}
         */

        public int rst;
        public RuleBean rule;

        public static class RuleBean {
            /**
             * max_amt : {"min":0,"max":250000}
             * deadline : {"min":0,"max":5}
             */

            public MaxAmtBean max_amt;
            public DeadlineBean deadline;

            public static class MaxAmtBean {
                /**
                 * min : 0
                 * max : 250000
                 */

                public int min;
                public int max;
            }

            public static class DeadlineBean {
                /**
                 * min : 0
                 * max : 5
                 */

                public int min;
                public int max;
            }
        }
    }

    public static class PaymentAuthBean {
        /**
         * rst : 0
         * rule : {"max_amt":{"min":0,"max":250000},"deadline":{"min":0,"max":5}}
         */

        public int rst;
        public RuleBeanX rule;

        public static class RuleBeanX {
            /**
             * max_amt : {"min":0,"max":250000}
             * deadline : {"min":0,"max":5}
             */

            public MaxAmtBeanX max_amt;
            public DeadlineBeanX deadline;

            public static class MaxAmtBeanX {
                /**
                 * min : 0
                 * max : 250000
                 */

                public int min;
                public int max;
            }

            public static class DeadlineBeanX {
                /**
                 * min : 0
                 * max : 5
                 */

                public int min;
                public int max;
            }
        }
    }
}
